package cn.zhejianglao.shirotemplate.constant;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * constant linking .properties file
 */

@Component
@Data
public class ConstantProperties {

    @Value("${session.timeout}")
    private long permissionSessionTimeout;

    @Value("${currentUser}")
    private String currentUser;
}
